const reducer = (state = {}, action) => {
  switch (action.type) {
      case 'setProfile':
          return {
            profile: action.profile
          }
      default:
          return state
  }
}

export default reducer